% Initialization file

HRM(1).Tank.name='Tank';
HRM(1).Tank.Oxidizer='N20';
HRM(1).Tank.Volume_tot=1;
HRM(1).Tank.Volume_liq=0.5;
HRM(1).Tank.Volume_gaz=0.5;
HRM(1).Tank.Masse_liq=1;
HRM(1).Tank.Masse_gaz=1;
HRM(1).Tank.Nelements=1;
HRM(1).Tank.Pressure=1;
HRM(1).Tank.Temperature=1;

HRM(1).Inj_system.Length=1;
HRM(1).Inj_system.Diameter=1;
HRM(1).Inj_system.Roughness=1;
HRM(1).Inj_system.Ninjectors=3;
HRM(1).Inj_system.Section_injector=3;
HRM(1).Inj_system.Cd_injector=3;

HRM(1).Comb_chamber.Volume_tot=1;

HRM(1).Comb_chamber.Prechamber.Enabled=1;
HRM(1).Comb_chamber.Prechamber.Volume=1;
HRM(1).Comb_chamber.Prechamber.Diameter=1;
HRM(1).Comb_chamber.Prechamber.Nelements=1;
HRM(1).Comb_chamber.Prechamber.Length=0.5;
HRM(1).Comb_chamber.Prechamber.Mesh=0:0.001:1;

HRM(1).Comb_chamber.Chamber.Volume=1;
HRM(1).Comb_chamber.Chamber.Diameter=1;
HRM(1).Comb_chamber.Chamber.Nelements=1;
HRM(1).Comb_chamber.Chamber.Length=1;
HRM(1).Comb_chamber.Chamber.Mesh=0:0.001:1;

HRM(1).Comb_chamber.Postchamber.Enabled=1;
HRM(1).Comb_chamber.Postchamber.Volume=1;
HRM(1).Comb_chamber.Postchamber.Diameter=1;
HRM(1).Comb_chamber.Postchamber.Nelements=1;
HRM(1).Comb_chamber.Postchamber.Length=0.5;
HRM(1).Comb_chamber.Postchamber.Mesh=0:0.001:1;
HRM(1).Comb_chamber.Postchamber.Temperature=300*ones(length(HRM(1).Comb_chamber.Postchamber.Mesh));

HRM(1).Comb_chamber.Grain.name='Wax';
HRM(1).Comb_chamber.Grain.Dint=0.1;
HRM(1).Comb_chamber.Grain.Dext=0.2;
HRM(1).Comb_chamber.Grain.Dext=HRM(1).Comb_chamber.Chamber.Length;
HRM(1).Comb_chamber.Grain.Mesh=0:0.001:1;

HRM(1).Nozzle.Din=1;
HRM(1).Nozzle.Dthroat=1;
HRM(1).Nozzle.Dout=1;
HRM(1).Nozzle.Length=1;
HRM(1).Nozzle.dx=0.001;
HRM(1).Nozzle.Mesh=0:HRM(1).Nozzle.dx:HRM(1).Nozzle.Length;

ATM(1).T=300;
ATM(1).P=101325;
ATM(1).Z=1000;